package com.fivefu.core.camera.services;

import java.io.IOException;
import java.util.Map;

public interface CameraVideoService {

    /**
     * 视频截图
     * @param cameraCode 探头编号
     * @param playUrl 视频播放地址
     * @return
     * @throws Exception
     */
    Map<String, Object> snapeCamera(String cameraCode, String playUrl) throws Exception;

    /**
     * 查询视频像素
     * @param playUrl 视频播放地址
     * @return
     * @throws IOException
     * @throws InterruptedException
     */
    Map<String, Object> queryVideoPixel(String playUrl) throws IOException, InterruptedException;

}
